<?php

namespace app\common\constant\driving;

/**
 * 司机余额变动常量类
 */
class DriverMoneyLogConstant
{

    // 类型:1=订单收入,2=推广佣金,3=充值,4=管理员变动,5=提现,6=提现失败
    const TYPE_1 = 1;
    const TYPE_2 = 2;
    const TYPE_3 = 3;
    const TYPE_4 = 4;
    const TYPE_5 = 5;
    const TYPE_6 = 6;

    public static function get_type_list()
    {
        return [
            self::TYPE_1 => '订单收入',
            self::TYPE_2 => '推广佣金',
            self::TYPE_3 => '充值',
            self::TYPE_4 => '管理员变动',
            self::TYPE_5 => '提现',
            self::TYPE_6 => '提现失败',
        ];
    }

    // 变动类型:1=增加,2=减少
    const CHANGE_TYPE_1 = 1;
    const CHANGE_TYPE_2 = 2;

    public static function get_change_type_list()
    {
        return [
            self::CHANGE_TYPE_1 => '增加',
            self::CHANGE_TYPE_2 => '减少',
        ];
    }

}
